WP_Defender\Controller\Recaptcha C

Total Complexity 125
Dependencies 8
Dependents 2
Total lines 834
Lines of code 576
Logical lines of code 255
Comment lines 161
Methods 31
Properties 8

Methods 31

Method Rating Maintainability Complexity Lines of code
load_recaptcha_preview()
A
35 8 113
add_actions()
A
46 12 37
display_recaptcha()
A
44 11 45
data_frontend()
A
42 9 53
recaptcha_post_request()
S
50 7 28
validate_captcha_field_wpmu_registration()
S
56 7 17
declare_variables()
S
54 6 20
remove_dublicate_scripts()
S
61 6 11
validate_captcha_field_on_lostpassword()
S
59 5 14
get_api_url()
S
62 5 11
recaptcha_field()
S
56 4 19
display_login_recaptcha()
S
53 3 33
__construct()
S
58 4 15
validate_captcha_field()
S
59 4 15
validate_captcha_field_on_login()
S
60 4 14
add_scripts()
S
50 3 29
recaptcha_response()
S
58 3 15
save_settings()
S
55 2 23
validate_captcha_field_on_comment()
S
67 3 8
import_data()
S
69 2 7
export_strings()
S
72 2 5
error_message()
S
70 2 6
get_model()
S
70 2 6
display_signup_recaptcha()
S
68 2 7
exclude_recaptcha_for_requests()
S
70 2 5
script_loader_tag()
S
70 2 6
script_data()
S
76 1 4
remove_settings()
S
98 1 1
remove_data()
S
82 1 3
to_array()
S
98 1 1
display_comment_recaptcha()
S
74 1 5